.class public abstract Lcom/zuimeia/ui/viewfragment/ViewFragment;
.super Ljava/lang/Object;
.source "ViewFragment.java"


# instance fields
.field private mArgs:Landroid/os/Bundle;

.field private mContext:Landroid/content/Context;

.field private mView:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 9
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public getArguments()Landroid/os/Bundle;
    .registers 2

    .prologue
    .line 40
    iget-object v0, p0, Lcom/zuimeia/ui/viewfragment/ViewFragment;->mArgs:Landroid/os/Bundle;

    return-object v0
.end method

.method public getContext()Landroid/content/Context;
    .registers 2

    .prologue
    .line 24
    iget-object v0, p0, Lcom/zuimeia/ui/viewfragment/ViewFragment;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method public getView()Landroid/view/View;
    .registers 3

    .prologue
    .line 16
    iget-object v0, p0, Lcom/zuimeia/ui/viewfragment/ViewFragment;->mView:Landroid/view/View;

    if-nez v0, :cond_c

    .line 17
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "ViewFragment does\'t has a view"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 20
    :cond_c
    iget-object v0, p0, Lcom/zuimeia/ui/viewfragment/ViewFragment;->mView:Landroid/view/View;

    return-object v0
.end method

.method protected abstract initActions(Landroid/view/View;)V
.end method

.method protected abstract initData()V
.end method

.method protected abstract initViews(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;)Landroid/view/View;
.end method

.method public onDestroy()V
    .registers 1

    .prologue
    .line 55
    invoke-virtual {p0}, Lcom/zuimeia/ui/viewfragment/ViewFragment;->onDestroyView()V

    .line 56
    return-void
.end method

.method public onDestroyView()V
    .registers 2

    .prologue
    .line 50
    iget-object v0, p0, Lcom/zuimeia/ui/viewfragment/ViewFragment;->mView:Landroid/view/View;

    if-eqz v0, :cond_4

    .line 52
    :cond_4
    return-void
.end method

.method public performInit(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;)V
    .registers 4
    .param p1, "inflater"    # Landroid/view/LayoutInflater;
    .param p2, "parent"    # Landroid/view/ViewGroup;

    .prologue
    .line 28
    invoke-virtual {p1}, Landroid/view/LayoutInflater;->getContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lcom/zuimeia/ui/viewfragment/ViewFragment;->mContext:Landroid/content/Context;

    .line 30
    invoke-virtual {p0}, Lcom/zuimeia/ui/viewfragment/ViewFragment;->initData()V

    .line 31
    invoke-virtual {p0, p1, p2}, Lcom/zuimeia/ui/viewfragment/ViewFragment;->initViews(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/zuimeia/ui/viewfragment/ViewFragment;->mView:Landroid/view/View;

    .line 32
    iget-object v0, p0, Lcom/zuimeia/ui/viewfragment/ViewFragment;->mView:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/viewfragment/ViewFragment;->initActions(Landroid/view/View;)V

    .line 33
    return-void
.end method

.method public setArguments(Landroid/os/Bundle;)V
    .registers 2
    .param p1, "args"    # Landroid/os/Bundle;

    .prologue
    .line 36
    iput-object p1, p0, Lcom/zuimeia/ui/viewfragment/ViewFragment;->mArgs:Landroid/os/Bundle;

    .line 37
    return-void
.end method
